package cn.edu.sdwu.day03.service;

import cn.edu.sdwu.day03.entity.Application;
import cn.edu.sdwu.day03.mapper.ApplicationMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class ApplicationImpl implements ApplicationService{
    @Autowired
    ApplicationMapper applicationMapper;

    @Override
    public List<Application> selectList() {
        return applicationMapper.selectList();
    }

    @Override
    public Application selectApplication() {
        return applicationMapper.selectApplication();
    }
}
